package io.renren.modules.workmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.workmanagement.entity.WorkFinishStatusDetailEntity;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author yewei
 * @email sunlightcs@gmail.com
 * @date 2022-04-28 09:35:25
 */
public interface WorkFinishStatusDetailService extends IService<WorkFinishStatusDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    WorkFinishStatusDetailEntity getByWorkIdAndUserId(Long workId, Long userId);

    List<WorkFinishStatusDetailEntity> listByWorkIds(List<Long> workIds);

    List<WorkFinishStatusDetailEntity> getByWorkIdAndUserIds(Long workId, List<Long> studentIds);

    List<WorkFinishStatusDetailEntity> getByWorkIdsAndUserId(List<Long> workIds, Long userId);
}

